/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfc.mapper;

import com.easy.core.persistence.BaseMapper;
import com.easy.core.persistence.annotation.MyBatisMapper;
import com.easy.dfc.entity.DfcActivity;
import com.easy.dfc.entity.ParaActivity;
import com.easy.dfc.entity.ParaEnrollQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * MAPPER接口
 * @author waylen chi
 * @version 2017-12-05
 */
@MyBatisMapper
public interface DfcActivityMapper extends BaseMapper<DfcActivity> {

    List<Map<String,Object>> ActivityList(ParaActivity para);

    DfcActivity getIdByUuId(@Param(value="uuId") String uuId);

    DfcActivity getByUuId(@Param(value="uuId")String uuId);

    List<Map<String,Object>> ActivityEnrollList(ParaEnrollQuery para);

    List<Map<String,Object>> ActivityEnrollProduct(@Param(value="enrollId")String enrollId);

    void ActivityEnrollCancel(@Param(value="enrollId")String enrollId);

    Map<String,Object> ActivityEnrollDetail(@Param(value="enrollId")String enrollId);
}